package com.csun.cmny.provider.model.domain;

import javax.persistence.Column;
import javax.persistence.Table;

@Table(name = "cn_dmc_old_user_bind")
public class DmcOldUserBind {
    /**
     * 用户ID
     */
    @Column(name = "user_id")
    private Long userId;

    /**
     * 老人ID
     */
    @Column(name = "old_man_id")
    private Long oldManId;

    /**
     * 获取用户ID
     *
     * @return user_id - 用户ID
     */
    public Long getUserId() {
        return userId;
    }

    /**
     * 设置用户ID
     *
     * @param userId 用户ID
     */
    public void setUserId(Long userId) {
        this.userId = userId;
    }

    /**
     * 获取老人ID
     *
     * @return old_man_id - 老人ID
     */
    public Long getOldManId() {
        return oldManId;
    }

    /**
     * 设置老人ID
     *
     * @param oldManId 老人ID
     */
    public void setOldManId(Long oldManId) {
        this.oldManId = oldManId;
    }
}